﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Model;
using Dtos;

namespace IBLL
{
    public interface IDepartmentBll
    {
        Task<int> AddDepartmentAsync(string title);
        Task<int> EditDepartmentAsync(Guid id, string title);
        Task<int> DeleteDepartmentAsync(Guid id);
        Task<List<Department>> getAllDepartment();
        Task<DepartmentDtos> GetDepartmentIdAsync(Guid id);
        Task<bool> IsExistsAsync(string title);
    }
}
